package dev.alm.guiguxiaozhiapp.service;

import dev.alm.guiguxiaozhiapp.bean.Appointment;

import java.util.List;

public interface AppointmentService {

    Boolean save(Appointment appointment);
    Appointment findById(Long id);
    Boolean update(Appointment appointment);
    Boolean delete(Long id);
    List<Appointment> findAll();
    Appointment findOne(Appointment appointment);
    List<Appointment> queryByUsername(String username);

}
